package User;

public class User
{
    private String userName;
    private int userAge;
    public boolean gender;
    
    public User ()
    {
    
    }
    
    public User (String userName)
    {
        this.userName = userName;
    }
    
    private User (int userAge)
    {
        this.userAge = userAge;
    }
    
    public User (String userName, int userAge)
    {
        this.userName = userName;
        this.userAge = userAge;
    }
    
    public User (String userName, int userAge, boolean gender)
    {
        this.userName = userName;
        this.userAge = userAge;
        this.gender = gender;
    }
    
    private void SuiBian()
    {
        System.out.println("随便");
    }
    
    
    
    @Override
    public String toString ()
    {
        return "User{" +
               "userName='" + userName + '\'' +
               ", userAge=" + userAge +
               ", gender=" + gender +
               '}';
    }
    
    public String getUserName ()
    {
        return userName;
    }
    
    public void setUserName (String userName)
    {
        this.userName = userName;
    }
    
    public int getUserAge ()
    {
        return userAge;
    }
    
    public void setUserAge (int userAge)
    {
        this.userAge = userAge;
    }
    
    public boolean isGender ()
    {
        return gender;
    }
    
    public void setGender (boolean gender)
    {
        this.gender = gender;
    }
}
